﻿<%@ page language="C#" masterpagefile="MasterPageFrame.master" autoeventwireup="true" inherits="admin_notelist, App_Web_bgx0xzll" title="信息管理 -> 信息列表" %>

<%@ Register Src="../WebUserControl/PageNavigation.ascx" TagName="PageNavigation"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
.pic{width:50px}
td.sortnum{width:80px}
input.sortnum{width:30px;font-size:8pt;font-family:Arial;text-align:right}
#NoteTypeID{width:180px}
</style>
<script language="javascript">
    function __modify(__noteid)
    {
        document.location="notepub.aspx?noteid="+__noteid+"&urlhref="+escape(location);
    }
    function __delete(__noteid)
    {
        if(confirm("您真的要删除该信息吗？"))
        {
            document.location="notedelete.aspx?noteid="+__noteid+"&urlhref="+escape(location);
        }
    }
    window.onload=function()
    {
	    $form.addOption("NoteTypeID","","所有分类");
	    $form.addOptionsByXML("xmlnotetype.aspx","NoteTypeID","notetypeid","notetypename");
        
        var className;
        
        $("a.pic").each(function(){
            if ($(this).attr("href")!="")
            {
                className=$fso.getExtName($(this).attr("href"));
                $(this).addClass(className);
            }
        
        });
        
    }
    
    function __updatesortnum(__noteid)
    {
        var v=$("#sortnum"+__noteid).val()
        if (v!="")
        {
            document.location="noteupdatesortnum.aspx?noteid="+__noteid+"&sortnum="+v+"&urlhref="+escape(location);
        }
        else
        {
            alert("请填写排序号");
        }
    }

</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <form method="get">
        <fieldset><legend>搜索</legend>
            <table>
                <tr>
                    <td><select size="1" name="NoteTypeID" id="NoteTypeID" alerttext="信息分类"></select>
                    </td>
                    <td><input type="text" name="keyword"/>
                    </td>
                    <td>
                        <input type="submit" value="搜索" name="btnsubmit" />
                    </td>
                </tr>
            </table>
            
        </fieldset>
    </form>
    <div id="pagelist1" runat="server"></div>
    <uc1:PageNavigation id="PageNavigation1" runat="server">
    </uc1:PageNavigation>
</asp:Content>

